﻿<UserControl x:Class="HRM.CustomControl.StatusControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300"
             x:Name="uc">
    <Grid>
        <StackPanel Orientation="Horizontal" Grid.Row="1" Height="24" VerticalAlignment="Center" Margin="10,0,0,0" >
            <Image Source="{Binding IconSource,ElementName=uc}" Margin="0,0,10,0" />
            <TextBlock Text="{Binding Message, ElementName=uc}" VerticalAlignment="Center" Foreground="BlueViolet" FontFamily="Lucida Console"/>
        </StackPanel>
    </Grid>
</UserControl>
